package com.gpj.learn.springcloud.ribbon.normal;

import com.gpj.learn.springcloud.ribbon.rule.PartRibbonConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.netflix.ribbon.RibbonClients;

@SpringBootApplication
// artRibbonConfig不能被@SpringbootApplication的@CompentScan扫描到，否则就是全局配置的效果
// 可配置多个@RibbonClient
/*@RibbonClients(value = {
	@RibbonClient(name = "common-server-aux",configuration = PartRibbonConfig.class)
})*/
public class Application {
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}
